#include <iostream>

#include "Matrix.cc"

using namespace std;


int main()
{
    Matrix A("TM2");
	//Matrix B("TM2");
	
	
	if(A.isSymmetric())
	    cout <<"\n\nYES\n";
	else
	    cout <<"\n\nNO\n";
	
	return 0;
}

